﻿namespace Shop.Model.View.Admin.Gift;

public class GiftListVo
{
    /// <summary>
    /// 规则Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 商品名
    /// </summary>
    public string GName { get; set; }
    
    /// <summary>
    /// 规格名
    /// </summary>
    public string SName { get; set; }
    
    /// <summary>
    /// 单次购买量
    /// </summary>
    public int BuyCount { get; set; }
    
    /// <summary>
    /// 赠送数量
    /// </summary>
    public int GiveCount { get; set; }
    
    /// <summary>
    /// 是否可以叠加
    /// </summary>
    public bool IsSuperposition { get; set; }
    
    /// <summary>
    /// 是否有数量赠送数量限制
    /// </summary>
    public bool IsLimited { get; set; }
    
    /// <summary>
    /// 剩余的数量
    /// </summary>
    public int RemainderCount { get; set; }
    
    /// <summary>
    /// 活动开始时间
    /// </summary>
    public DateTime? UpTime { get; set; }
    
    /// <summary>
    /// 活动结束时间
    /// </summary>
    public DateTime? DownTime { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }
    
    /// <summary>
    /// 状态
    /// </summary>
    public bool IsDel { get; set; }
}